Skip to content

Add an in_place map for the shortcuts that are not redirects - #272

Merged
lacatoire merged 1 commit into
php:masterfrom
lacatoire:feat/redirects-serve-in-place
Nov 18, 2026
Merged

lacatoire merged 1 commit into
php:masterfrom
lacatoire:feat/redirects-serve-in-place

Conversation

@lacatoire

Copy link
Copy Markdown
Member

A shortcut group of redirects.xml marked serve="in-place" goes to a new in_place map of redirects.json, so that web-php can serve the page without a 301. Such a group cannot hold an anchor.

Used by php/doc-en#5658.

A shortcut group marked serve="in-place" in redirects.xml is an expansion,
not a redirect. Its entries go to the new in_place map, so that web-php can
serve the page at the requested URL. The group cannot hold an anchor, which
would be lost, and a bare URI cannot be both redirected and served in place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant